package org.maylove.wuziqi.service;

import org.maylove.wuziqi.pojo.question.Question;
import org.maylove.wuziqi.pojo.question.dto.GetQuestionDto;

import java.util.List;

public interface QuestionService {
    void addQuestion(Question question);

    Long getUserId(Long questionId);

    void deleteQuestion(Long questionId);

    List<Question> getQuestion(GetQuestionDto getQuestionDto);

    void addAnswer(Long questionId, String answer);

    void deleteAnswer(Long questionId);
}
